package com.dyzx.hbb.modules.attendance.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class AttendanceConfigUVO {
    @NotNull(message = "ID不能为空")
    private Long id;
    @NotNull(message = "名称不能为空")
    private String name;
    @JsonProperty("user_ids")
    private List<Long> userIds;
    @NotNull(message = "开始时间不能为空")
    private List<String> weeks;
    private List<AttendanceWorkShiftVO> times;


    /**
     * 设备编号
     */
    @NotNull(message = "设备编号不能为空")
    @JsonProperty("device_ids")
    private List<String>  deviceIds;
}

